<%-- 
    Document   : teste
    Created on : 19/06/2012, 15:18:01
    Author     : luiz.perez
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <iframe height="100" width="100" src="login.jsp"></iframe><br>
        <iframe height="100" width="100" src="busca.jsp"></iframe><br>
        <%
            if(session.getAttribute("nome") != null){
                String nome = session.getAttribute("nome").toString();
                System.out.println("Funciona! " + nome);
            }
            else{
                System.out.println("Session vazia.");
            }
        %>
    </body>
</html>
